-
Notifications
You must be signed in to change notification settings - Fork 9.5k
Add mcp-safety-scanner CI (baseline) #3295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add mcp-safety-scanner CI (baseline) #3295
Conversation
|
FYI: This adds an MCP security scan workflow using TheodorNEngoy/mcp-safety-scanner@v0 (no secrets). It runs against src/ with a checked-in baseline to avoid legacy noise, and fails CI only on new high-severity findings.\n\nHappy to adjust the baseline scope or pin to a specific tag if you prefer. |
|
Update: I pinned the workflow to an immutable commit SHA for supply-chain safety (commented with the corresponding version), and set for a read-only token. |
|
(clarification) Also set GitHub Actions workflow permissions to contents: read (read-only GITHUB_TOKEN). |
|
FYI: I also opened #3303 to remove the current high-severity findings in the baseline (wildcard CORS in the Everything server HTTP transports). If/when that lands, we can regenerate the baseline to drop those entries (and likely keep only the remaining medium ones). |
|
Update: bumped scanner pin to v0.4.9 (false-positive reductions) and regenerated |
Adds a lightweight MCP/tool-server safety scan in CI using TheodorNEngoy/mcp-safety-scanner@v0.
srcfor common footguns (CORS allow-all/reflect, eval/exec, etc.).mcp-safety-baseline.json) to avoid noisy legacy findingshigh+ severity (medium/low show as annotations)Refresh baseline (no Node required):
docker run --rm -v "/tmp/mcp-servers.2eGvhp:/repo" ghcr.io/theodornengoy/mcp-safety-scanner:v0 /repo/src --write-baseline /repo/.mcp-safety-baseline.json --fail-on=none